@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

a {
  color: #666;
}

html, body, #root, .app {
  width: 100%;
  height: 100%;
}

.app {
  display: flex;
  flex-direction: column;
}

/* 底部导航 */
.tabbar {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-top: 1px solid #ccc;
}

.tabbar a.active {
  color: red;
}

/* header样式 */
.header {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-top: 1px solid #ccc;
  box-shadow: 3px 3px 3px #ccc;
}

.content {
  height: 567px;
  flex: 1;
}

/* 我的页面 */
.my .content .user {
  display: flex;
  width: 100%;
  height: 77px;
  border-bottom: 1px solid #ccc;
}

.my .content .user .img {
  padding: 10px;
  width: 20%;
  height: 100%;
}

.my .content .user .img div {
  width: 100%;
  height: 100%;
  background: skyblue;
  border-radius: 50%;
}

.my .content .user .text {
  padding: 20px;
  width: 80%;
  height: 100%;
  line-height: 22px;
}

.my .content .yhq {
  width: 100%;
  height: 80px;
  padding: 10px;
}

.my .content .yhq .img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  background: antiquewhite;
}

.my .content .list {
  width: 100%;
  height: 400px;
  overflow: auto;
  padding: 0 20px;
}

.my .content .list .item {
  display: flex;
  width: 100%;
  height: 50px;
  line-height: 50px;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
}

/* 主页面 */
.home .content .search {
  width: 100%;
  height: 50px;
  display: flex;
  padding: 5px 20px;
  background: #5eb4ff;
}

.home .content .search input {
  flex: 1;
  border-radius: 25px;
  outline: none;
  border: none;
  padding-left: 35%;
}

.home .content .banner {
  width: 100%;
  height: 70px;
}

.home .content .banner .v-item {
  width: 100%;
  height: 70px;
}

.home .content .banner .v-item img {
  width: 100%;
  height: 100%;
}

.home .content .cnxh {
  width: 100%;
  height: 30px;
  padding: 5px 20px;
}

.home .content .nav {
  width: 100%;
  height: 40px;
  display: flex;
  text-align: center;
  line-height: 40px;
}

.home .content .nav span {
  flex: 1;
}

.home .content .nav span.ac {
  border-bottom: 2px solid red;
}

.home .content .bqnav {
  width: 100%;
  display: flex;
  text-align: center;
}

.home .content .bqnav span {
  margin: 13px 5px 0px;
  background: #eee;
  flex: 1;
  padding: 5px;
  border-radius: 5px;
}

.home .content .list {
  width: 100%;
  height: 337px;
  overflow: auto;
}

.home .content .list .item {
  display: flex;
  height: 100px;
  padding: 10px 20px;
}

.home .content .list .item .img {
  width: 80px;
  height: 100%;
}

.home .content .list .item .img img {
  width: 100%;
  height: 100%;
}

.home .content .list .item .text {
  flex: 1;
  padding: 10px;
  line-height: 20px;
}

.home .content .list .item .text .yxl {
  display: flex;
  justify-content: space-between;
}

.home .content .list .item .text .mj span {
  display: inline-block;
  border: 1px solid orangered;
  padding: 0 5px;
  margin: 5px 2px;
  color: orangered;
  font-size: 12px;
}

/* 搜索页面 */
.search .content {
  height: 617px;
}

.search .content .search {
  width: 100%;
  height: 60px;
  display: flex;
  padding: 10px;
}

.search .content .search input {
  background: #eee;
  flex: 1;
  border-radius: 25px;
  outline: none;
  border: none;
  padding-left: 35%;
}

.search .content .search span {
  width: 15%;
  height: 100%;
  text-align: center;
  line-height: 40px;
}

.search .content .lsjl {
  width: 100%;
  padding: 10px 20px;
  max-height: 100px;
  overflow: auto;
}

.search .content .lsjl span {
  display: inline-block;
  border-radius: 4px;
  background: #ccc;
  color: #fff;
  padding: 2px 5px;
  margin: 5px 10px;
}

.search .content h3 {
  width: 100%;
  padding: 10px 20px;
}

.search .content .list {
  max-height: 500px;
  overflow: auto;
}

.search .content .list .item {
  display: flex;
  height: 100px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.search .content .list .item .img {
  width: 80px;
}

.search .content .list .item .img img {
  width: 100%;
  height: 100%;
}

.search .content .list .item .text {
  flex: 1;
  padding: 10px;
  line-height: 20px;
}

.search .content .list .item .text .yxl {
  display: flex;
  justify-content: space-between;
}

.search .content .list .item .text .mj span {
  display: inline-block;
  border: 1px solid orangered;
  padding: 0 5px;
  margin: 5px 2px;
  color: orangered;
  font-size: 12px;
}

/* 我的收藏页面 */
.mysc .content {
  height: 617px;
}

.mysc .content .list {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.mysc .content .list .item {
  position: relative;
  display: flex;
  height: 100px;
  padding: 10px;
}

.mysc .content .list .item .img {
  width: 80px;
}

.mysc .content .list .item .img img {
  width: 100%;
  height: 100%;
}

.mysc .content .list .item .text {
  flex: 1;
  padding: 10px;
  line-height: 20px;
}

.mysc .content .list .item .text .yxl {
  display: flex;
  justify-content: space-between;
}

.mysc .content .list .item .text .mj span {
  display: inline-block;
  border: 1px solid orangered;
  padding: 0 5px;
  margin: 5px 2px;
  color: orangered;
  font-size: 12px;
}

.mysc .content .list .item .btn {
  position: absolute;
  right: 20px;
  top: 20px;
  background: skyblue;
  color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
}

.mysc .klist {
  margin-top: 50%;
  width: 100%;
  text-align: center;
  line-height: 40px;
}

.mysc .klist .gg {
  width: 100%;
  justify-content: center;
}

.mysc .klist .gg span {
  border-radius: 5px;
  display: inline-block;
  width: 80px;
  height: 40px;
  background: skyblue;
  color: #fff;
}

/* 单个店铺页 */
.shop .imgs {
  width: 100%;
  height: 100px;
  line-height: 100px;
  padding-left: 20px;
  background: url("/102.jpg") no-repeat;
  background-size: 100% 100%;
}

.shop .content {
  height: 517px;
  display: flex;
}

.shop .content .nav {
  width: 20%;
  height: 100%;
  text-align: center;
  background: #eee;
}

.shop .content .nav .item {
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-bottom: 1px solid #ccc;
}

.shop .content .nav .item.active {
  border-left: 2px solid red;
}

.shop .content .list {
  flex: 1;
  overflow: auto;
}

.shop .content .list .item {
  width: 100%;
  display: flex;
  border-bottom: 1px solid #ccc;
  position: relative;
}

.shop .content .list .item .img {
  padding: 10px;
  width: 80px;
}

.shop .content .list .item .img img {
  width: 100%;
  height: 100%;
}

.shop .content .list .item .text {
  flex: 1;
  padding: 10px;
  line-height: 22px;
}

.shop .content .list .item .btn {
  width: 30px;
  height: 30px;
  background: skyblue;
  color: snow;
  text-align: center;
  line-height: 26px;
  border-radius: 50px;
  position: absolute;
  bottom: 0;
  right: 20px;
}

.shop .foot {
  width: 100%;
  height: 50px;
  background: #666;
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  line-height: 50px;
  text-align: center;
  color: #fff;
}

.shop .foot div {
  flex: 1;
}

/* 菜品购物车 */
.gwc {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  flex-direction: column;
  display: flex;
}

.gwc .top {
  width: 100%;
  flex: 1;
}

.gwc .list {
  max-height: 367px;
  background: #fff;
  padding-bottom: 50px;
  overflow: auto;
}

.gwc .list .header {
  position: fixed;
  left: 0;
  background: #fff;
  z-index: 22;
}

.gwc .list .yxsj {
  margin-top: 50px;
}

.gwc .list .item {
  width: 100%;
  display: flex;
  border-bottom: 1px solid #ccc;
  position: relative;
}

.gwc .list .item .img {
  padding: 10px;
  width: 80px;
}

.gwc .list .item .img img {
  width: 100%;
  height: 100%;
}

.gwc .list .item .text {
  flex: 1;
  padding: 10px;
  line-height: 20px;
}

.gwc .list .item .btn {
  text-align: center;
  line-height: 26px;
  position: absolute;
  bottom: 10px;
  right: 0;
}

.gwc .list .item .btn span {
  border-radius: 50px;
  display: inline-block;
  width: 30px;
  height: 30px;
  background: skyblue;
  color: snow;
  margin: 0 5px;
}

.gwc .list .foot {
  width: 100%;
  height: 50px;
  background: #666;
  display: flex;
  line-height: 50px;
  text-align: center;
  color: #fff;
}

.gwc .list .foot div {
  flex: 1;
}

/* 收货地址列表页 */
.shdz .content {
  height: 617px;
  overflow: auto;
  position: relative;
}

.shdz .content .list .item {
  position: relative;
  padding: 10px;
  margin: 20px;
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  color: #666;
}

.shdz .content .list .item .left {
  line-height: 20px;
}

.shdz .content .adddz {
  width: 100%;
  height: 50px;
  background: skyblue;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  text-align: center;
  line-height: 50px;
}

.shdz .content .mydz {
  text-align: center;
  padding-top: 30%;
}

.aacc {
  border: 2px solid red;
}

.mrdz {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: none;
  color: red;
}

.aacc .mrdz {
  display: block;
}

/* 新增收货地址页 */
.xzdz .content {
  height: 617px;
  padding: 20px;
}

.xzdz .content div {
  width: 100%;
  height: 50px;
  line-height: 50px;
}

.xzdz .content div input {
  outline: none;
  border: none;
  padding-left: 20px;
  height: 40px;
  border-bottom: 1px solid #ccc;
  width: 80%;
}

.xzdz .content .bcbsy {
  text-align: center;
  background: skyblue;
  color: #fff;
}

/* 修改收货地址页 */
.xgdz .content {
  height: 617px;
  padding: 20px;
}

.xgdz .content div {
  width: 100%;
  height: 50px;
  line-height: 50px;
}

.xgdz .content div input {
  outline: none;
  border: none;
  padding-left: 20px;
  height: 40px;
  border-bottom: 1px solid #ccc;
  width: 80%;
}

.xgdz .content .bcbsy {
  display: flex;
}

.xgdz .content .bcbsy span {
  margin: 2px 10px;
  flex: 1;
  text-align: center;
  border: 1px solid #ccc;
}

.xgdz .content .bcbsy .acc {
  background: skyblue;
  color: #fff;
}

.gmsp .content {
  width: 100%;
  height: 617px;
  overflow: auto;
}

.gmsp .content .item {
  background: #ccc;
  width: 100%;
}

.gmsp .content .item .name {
  width: 100%;
  justify-content: space-between;
}

.gmsp .content .item .title {
  width: 100%;
  justify-content: space-between;
}
